/**
 * @license Copyright 2019 Google Inc. All Rights Reserved.
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
 */
'use strict';

module.exports = {
  assertions: {
    // Not applicable in navigation mode (off)
    // TODO: Enable this to support user flows
    'interaction-to-next-paint': ['off', {}],
    'uses-responsive-images-snapshot': ['off', {}],
    'work-during-interaction': ['off', {}],

    // Not useful or invisible diagnostic audits (off)
    'critical-request-chains': ['off', {}],
    'final-screenshot': ['off', {}],
    'js-libraries': ['off', {}],
    'largest-contentful-paint-element': ['off', {}],
    'layout-shifts': ['off', {}],
    'main-thread-tasks': ['off', {}],
    'network-requests': ['off', {}],
    'network-rtt': ['off', {}],
    'network-server-latency': ['off', {}],
    'resource-summary': ['off', {}],
    'screenshot-thumbnails': ['off', {}],
    'script-treemap-data': ['off', {}],
    'third-party-summary': ['off', {}],
    'total-blocking-time': ['off', {}],
    'user-timings': ['off', {}],
    diagnostics: ['off', {}],
    metrics: ['off', {}],

    // All the rest of the audits (error)
    'aria-allowed-attr': ['error', {}],
    'aria-allowed-role': ['error', {}],
    'aria-command-name': ['error', {}],
    'aria-conditional-attr': ['error', {}],
    'aria-deprecated-role': ['error', {}],
    'aria-dialog-name': ['error', {}],
    'aria-hidden-body': ['error', {}],
    'aria-hidden-focus': ['error', {}],
    'aria-input-field-name': ['error', {}],
    'aria-meter-name': ['error', {}],
    'aria-progressbar-name': ['error', {}],
    'aria-prohibited-attr': ['error', {}],
    'aria-required-attr': ['error', {}],
    'aria-required-children': ['error', {}],
    'aria-required-parent': ['error', {}],
    'aria-roles': ['error', {}],
    'aria-text': ['error', {}],
    'aria-toggle-field-name': ['error', {}],
    'aria-tooltip-name': ['error', {}],
    'aria-treeitem-name': ['error', {}],
    'aria-valid-attr-value': ['error', {}],
    'aria-valid-attr': ['error', {}],
    'bf-cache': ['error', {}],
    'bootup-time': ['error', {}],
    'button-name': ['error', {}],
    'cache-insight': ['error', {}],
    'clickjacking-mitigation': ['error', {}],
    'cls-culprits-insight': ['error', {}],
    'color-contrast': ['error', {}],
    'crawlable-anchors': ['error', {}],
    'csp-xss': ['error', {}],
    'cumulative-layout-shift': ['error', {}],
    'definition-list': ['error', {}],
    'document-latency-insight': ['error', {}],
    'document-title': ['error', {}],
    'dom-size-insight': ['error', {}],
    'dom-size': ['error', {}],
    'duplicate-id-aria': ['error', {}],
    'duplicated-javascript-insight': ['error', {}],
    'duplicated-javascript': ['error', {}],
    'efficient-animated-content': ['error', {}],
    'empty-heading': ['error', {}],
    'errors-in-console': ['error', {}],
    'first-contentful-paint': ['error', {}],
    'first-meaningful-paint': ['error', {}],
    'font-display-insight': ['error', {}],
    'font-display': ['error', {}],
    'font-size': ['error', {}],
    'forced-reflow-insight': ['error', {}],
    'form-field-multiple-labels': ['error', {}],
    'frame-title': ['error', {}],
    'geolocation-on-start': ['error', {}],
    'has-hsts': ['error', {}],
    'heading-order': ['error', {}],
    'html-has-lang': ['error', {}],
    'html-lang-valid': ['error', {}],
    'html-xml-lang-mismatch': ['error', {}],
    'http-status-code': ['error', {}],
    'identical-links-same-purpose': ['error', {}],
    'image-alt': ['error', {}],
    'image-aspect-ratio': ['error', {}],
    'image-delivery-insight': ['error', {}],
    'image-redundant-alt': ['error', {}],
    'image-size-responsive': ['error', {}],
    'input-button-name': ['error', {}],
    'input-image-alt': ['error', {}],
    'inspector-issues': ['error', {}],
    'interaction-to-next-paint-insight': ['error', {}],
    'is-crawlable': ['error', {}],
    'is-on-https': ['error', {}],
    'label-content-name-mismatch': ['error', {}],
    'landmark-one-main': ['error', {}],
    'largest-contentful-paint': ['error', {}],
    'lcp-discovery-insight': ['error', {}],
    'lcp-lazy-loaded': ['error', {}],
    'lcp-phases-insight': ['error', {}],
    'legacy-javascript-insight': ['error', {}],
    'legacy-javascript': ['error', {}],
    'link-in-text-block': ['error', {}],
    'link-name': ['error', {}],
    'link-text': ['error', {}],
    'long-tasks': ['error', {}],
    'mainthread-work-breakdown': ['error', {}],
    'max-potential-fid': ['error', {}],
    'meta-description': ['error', {}],
    'meta-refresh': ['error', {}],
    'meta-viewport': ['error', {}],
    'modern-http-insight': ['error', {}],
    'modern-image-formats': ['error', {}],
    'network-dependency-tree-insight': ['error', {}],
    'no-document-write': ['error', {}],
    'non-composited-animations': ['error', {}],
    'notification-on-start': ['error', {}],
    'object-alt': ['error', {}],
    'offscreen-images': ['error', {}],
    'origin-isolation': ['error', {}],
    'paste-preventing-inputs': ['error', {}],
    'prioritize-lcp-image': ['error', {}],
    'redirects-http': ['error', {}],
    'render-blocking-insight': ['error', {}],
    'render-blocking-resources': ['error', {}],
    'robots-txt': ['error', {}],
    'select-name': ['error', {}],
    'server-response-time': ['error', {}],
    'skip-link': ['error', {}],
    'speed-index': ['error', {}],
    'table-duplicate-name': ['error', {}],
    'table-fake-caption': ['error', {}],
    'target-size': ['error', {}],
    'td-has-header': ['error', {}],
    'td-headers-attr': ['error', {}],
    'th-has-data-cells': ['error', {}],
    'third-parties-insight': ['error', {}],
    'third-party-cookies': ['error', {}],
    'third-party-facades': ['error', {}],
    'total-byte-weight': ['error', {}],
    'unminified-css': ['error', {}],
    'unminified-javascript': ['error', {}],
    'unsized-images': ['error', {}],
    'unused-css-rules': ['error', {}],
    'unused-javascript': ['error', {}],
    'uses-http2': ['error', {}],
    'uses-long-cache-ttl': ['error', {}],
    'uses-optimized-images': ['error', {}],
    'uses-passive-event-listeners': ['error', {}],
    'uses-rel-preconnect': ['error', {}],
    'uses-responsive-images': ['error', {}],
    'uses-text-compression': ['error', {}],
    'valid-lang': ['error', {}],
    'valid-source-maps': ['error', {}],
    'video-caption': ['error', {}],
    'viewport-insight': ['error', {}],
    accesskeys: ['error', {}],
    bypass: ['error', {}],
    canonical: ['error', {}],
    charset: ['error', {}],
    deprecations: ['error', {}],
    dlitem: ['error', {}],
    doctype: ['error', {}],
    hreflang: ['error', {}],
    interactive: ['error', {}],
    label: ['error', {}],
    list: ['error', {}],
    listitem: ['error', {}],
    redirects: ['error', {}],
    tabindex: ['error', {}],
    viewport: ['error', {}],
  },
};
